package com.logic.saas.rest.controller;

public class RestResponse {
	/**
	 * In general, if the status is 0, it means the request is be returned
	 * successfully.
	 */
	private int status = -1;
	private String returnMessage;
	private Object returnObject;

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getReturnMessage() {
		return returnMessage;
	}

	public void setReturnMessage(String returnMessage) {
		this.returnMessage = returnMessage;
	}

	public Object getReturnObject() {
		return returnObject;
	}

	public void setReturnObject(Object returnObject) {
		this.returnObject = returnObject;
	}

	@Override
	public String toString() {
		return "RestResponse [status=" + status + ", returnMessage="
				+ returnMessage + ", returnObject=" + returnObject + "]";
	}

}
